<?PHP
require_once "../../../../mainfile.php";
?>


<select dojoType="dijit.form.FilteringSelect" id="reasign" name="reasign"  autocomplete="true" value="" >
	<?PHP
	$result = $xoopsDB->query( "SELECT * FROM ".$xoopsDB->prefix("content_categories")." ORDER BY category asc" ) ;
	if ( $result ) {
		echo "<option value=\"null\">Do not reasign</option>\n";
		while ( $myrow = $xoopsDB->fetchArray($result) ) {
			echo "<option value=\"".$myrow['ID']."\">".$myrow['category']."</option>\n";
		}
	}

	?>
</select>